@layout("/common/_container.html"){
<link href="${ctxPath}/static/css/plugins/summernote/summernote.css" rel="stylesheet">
<link href="${ctxPath}/static/css/plugins/summernote/summernote-bs3.css" rel="stylesheet">

<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="WzPrizeInfoForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6">
                    <#input id="title" name="主标题"/>
                    <#select id="type" name="类型">
                        <option value="2">商城</option>
                        <option value="1">抽奖</option>
                    </#select>
                    <#input id="quantity" name="总数量"/>
                    <#input id="fileId" name="封面图id"/>
                    <#input id="couponId" name="奖券id" underline="true"/>
                    </div>

                <div class="col-sm-6">
                    <#select id="label" name="标签">
                        <option value="0">默认</option>
                        <option value="1">特别推荐</option>
                    </#select>
                    <#select id="subtype" name="子类型">
                        <option value="1">美食</option>
                        <option value="2">小吃</option>
                        <option value="3">娱乐</option>
                        <option value="4">酒店</option>
                        <option value="5">丽人</option>
                        <option value="6">旅游</option>
                        <option value="7">生活服务</option>
                        <option value="8">培训</option>
                    </#select>
                    <#input id="subtitle" name="副标题"/>
                    <#input id="exchangeAmount" name="抵扣积分"/>
                    <#input id="ratio" name="中奖概率"/>
                    <#select id="contentType" name="内容类型" underline="true">
                        <option value="1">富文本</option>
                        <option value="2">自定义</option>
                    </#select>

                    <!--<img src="" style="width:150px;length:150px;margin-left:100px">-->
                </div>
                <div class="col-sm-12">
                    <span>内容</span>
                    <textarea id="content" style="width: 100%;height: 120px;font-size: 19px;color:#878787;"></textarea>
                </div>
                <!--<div class="col-sm-9" style="margin-top:-60px;margin-left: 600px ">-->
                    <!--<img id="previewPic" src="" width="130" height="180" style="margin:-8px auto;display:none"  />-->
                <!--</div>-->
                <div class="col-sm-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>奖品详情</h5>
                            <button id="edit" class="btn btn-primary btn-xs m-l-sm" onclick="edit()" type="button">编辑</button>
                            <!--<button id="save" class="btn btn-primary  btn-xs" onclick="save()" type="button">保存</button>-->
                            <div class="ibox-tools">
                                <a class="collapse-link">
                                    <i class="fa fa-chevron-up"></i>
                                </a>
                                <a class="dropdown-toggle" data-toggle="dropdown" href="form_editors.html#">
                                    <i class="fa fa-wrench"></i>
                                </a>
                                <ul class="dropdown-menu dropdown-user">
                                    <li><a href="javascript:0">选项1</a>
                                    </li>
                                    <li><a href="javascript:0">选项2</a>
                                </ul>
                                <!--<a class="close-link">-->
                                    <!--<i class="fa fa-times"></i>-->
                                <!--</a>-->
                            </div>
                        </div>
                        <div class="ibox-content" id="eg">

                            <div class="click2edit wrapper">
                            </div>

                        </div>
                    </div>
                </div>
            </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="WzPrizeInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="WzPrizeInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/wz/wzPrize/wzPrize_info.js"></script>
<script src="${ctxPath}/static/modular/wz/pfFile/pfFile_Preview.js"></script>
<!-- SUMMERNOTE -->
<script src="${ctxPath}/static/js/plugins/summernote/summernote.min.js"></script>
<script src="${ctxPath}/static/js/plugins/summernote/summernote-zh-CN.js"></script>
@}
